package com.ruoyi.framework.kaifamiao;

import com.ruoyi.framework.web.controller.BaseController;
import org.apache.shiro.authz.annotation.Logical;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.framework.web.controller.BaseController;

@RestController
public class Test  extends BaseController {
    @RequestMapping("/hi")
//    @RequiresRoles(value = { "admin", "一般查询用户" }, logical = Logical.OR)

    public String index() {
        return "<h1>哈喽！！！，this is ruoyi.kaifamiao.Test</h1>";
    }


}
